package server.mapper;

import java.util.List;

/**
 * context标签解析后的内容
 */
public class MappedContext {

    /**
     * 项目访问的路径
     */
    private String path;

    /**
     * 项目文件存放的路径
     */
    private String docBase;

    /**
     * web.xml解析后的MappedWrapper集合
     */
    private List<MappedWrapper> mappedWrapperList;

    public MappedContext(String path, String docBase, List<MappedWrapper> mappedWrapperList) {
        this.path = path;
        this.docBase = docBase;
        this.mappedWrapperList = mappedWrapperList;
    }

    public String getPath() {
        return path;
    }

    public void setPath(String path) {
        this.path = path;
    }

    public String getDocBase() {
        return docBase;
    }

    public void setDocBase(String docBase) {
        this.docBase = docBase;
    }

    public List<MappedWrapper> getMappedWrapperList() {
        return mappedWrapperList;
    }

    public void setMappedWrapperList(List<MappedWrapper> mappedWrapperList) {
        this.mappedWrapperList = mappedWrapperList;
    }
}
